<p style="margin-bottom: 0px">&nbsp;</p>
<!--<page-header [title]="'收货和质检管理'">-->


<!--</page-header>-->
<nz-spin [nzSpinning]="loading">

<nz-card>

<form nz-form [nzLayout]="'inline'" class="search__form">
  <div nz-row [nzGutter]="24">

    <div nz-col nzLg="6">
      <nz-form-item>
        <!--<nz-form-label nzFor="spQuotientQuery">供应商电话</nz-form-label>-->
        <nz-form-control>
          <input nz-input [(ngModel)]="q.vbeln" name="vbeln" (keyup)="($event.which === 13)?query():0" placeholder="请扫码" >
        </nz-form-control>
      </nz-form-item>
    </div>
    <div nz-col nzLg="6">
      <nz-form-item>
        <!--<nz-form-label nzFor="spQuotientQuery">供应商电话</nz-form-label>-->
        <nz-form-control>
          <input nz-input [(ngModel)]="q.xianghao" name="xianghao" (keyup)="($event.which === 13)?query():0" placeholder="箱号" >
        </nz-form-control>
      </nz-form-item>
    </div>
    <div nz-col nzLg="6">
      <button nz-button type="button" [nzType]="'primary'" class="mx-sm"  (click)="query()">查询</button>

    </div>
  </div>
</form>
  <button nz-button type="button"     (click)="printbq()">打印单个标签</button>
  <button nz-button type="button"     (click)="pacbfirst()">打印标签</button>
  <button nz-button type="button"      (click)="pacafirst()">打印发货单</button>
  <button nz-button type="button"      (click)="paca105()">入库凭证打印</button>
  <button nz-button type="button"      (click)="paca104()">退货凭证打印</button>

</nz-card>


<nz-spin [nzSpinning]="loading">
        <!--<form nz-form>-->
            <!--<nz-form-item>-->
                <!--<nz-form-control >-->
                    <product-sku-edit-v2 #skuEdit2></product-sku-edit-v2>
                <!--</nz-form-control>-->
            <!--</nz-form-item>-->
        <!--</form>-->
</nz-spin>
<footer-toolbar errorCollect>

  <!--<button nz-button type="primary" *ngIf="pjStatus == 5"   nzType="primary"  [nzLoading]="loading" (click)="save('sap103')">103收货</button>-->
  <!--<button nz-button type="primary" *ngIf="sapqm == 1"    nzType="primary"  [nzLoading]="loading" (click)="save('sapqm')">质检</button>-->
  <!--<button nz-button type="primary"   nzType="primary"  [nzLoading]="loading" (click)="save('sapqmsub')">提交判定</button>-->

  <!--<button nz-button type="primary"  *ngIf="sap105 == 1"   nzType="primary"  [nzLoading]="loading" (click)="save('sap105')">105收货</button>-->
  <button nz-button type="primary"     nzType="primary"  [nzLoading]="loading" (click)="save('sap104b')">整批退货</button>

  <button nz-button type="primary"     nzType="primary"  [nzLoading]="loading" (click)="save('sap104')">104退货</button>
  <!--<button nz-button type="primary" *ngIf="pjStatus == 5"   nzType="primary"  [nzLoading]="loading" (click)="save('sap101')">101收货</button>-->

  <!--<button nz-button type="primary"   nzType="primary"  [nzLoading]="loading" (click)="save('sap104a')">整单退货</button>-->
  <!--<button nz-button type="primary" *ngIf="pjStatus == 0" nzType="primary"  [nzLoading]="loading" (click)="save('sap103')">103收货</button>-->
  <!--<button nz-button type="primary"  *ngIf="pjStatus == 1" nzType="primary"  [nzLoading]="loading" (click)="save('sapqm')">质检暂存</button>-->
  <!--<button nz-button type="primary"  *ngIf="pjStatus == 1" nzType="primary"  [nzLoading]="loading" (click)="save('sapqmsub')">提交判定</button>-->

  <!--<button nz-button type="primary"  *ngIf="pjStatus == 1" nzType="primary"  [nzLoading]="loading" (click)="save('sap105')">105收货</button>-->
  <!--<button nz-button type="primary"  *ngIf="pjStatus == 1" nzType="primary"  [nzLoading]="loading" (click)="save('sap104')">104退货</button>-->
  <!--<button nz-button type="primary"  *ngIf="pjStatus == 1" nzType="primary"  [nzLoading]="loading" (click)="save('sap104a')">整单退货</button>-->

</footer-toolbar>
</nz-spin>
